package com.investmenttechnologyservices.dao;

import com.googlecode.objectify.ObjectifyOpts;
import com.googlecode.objectify.ObjectifyService;
import com.googlecode.objectify.util.DAOBase;
import com.investmenttechnologyservices.model.Instrument;
import com.investmenttechnologyservices.model.Issuer;

public class DAO extends DAOBase {
	static {
		ObjectifyService.register(Instrument.class);
		ObjectifyService.register(Issuer.class);
	}

	public DAO() {
		super();
	}

	public DAO(ObjectifyOpts opts) {
		super(opts);
	}

}

// public class DAO extends DAOBase
// {
//
// /** Your DAO can have your own useful methods */
// public MyThing getOrCreateMyThing(long id)
// {
// MyThing found = ofy().find(clazz, id);
// if (found == null)
// return new MyThing(id);
// else
// return found;
// }
// }